package com.yc.Testjvm.asm.demo3;

/**
 * 来自互联网：
 * https://www.cnblogs.com/liuling/archive/2013/05/25/asm.html
 * 版本比较老，无法使用。只做参考
 * @author yuancan
 *
 */
public class Test {
    public static void main(String[] args) throws InterruptedException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
        C c = new C();
        c.m();
        Class cc = c.getClass();
        System.out.println(cc.getField("timer").get(c));
    }
}